<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>freemarker介绍</title>
</head>
<body>
<h1>Freemarker介绍</h1>
你好：${name!"游客"}<br>
${price?string('￥0,000.00')} <br>
${date?string('YYYY年MM月dd日')} <br>
<#if gender==true>
	男
<#else>
	女
</#if>
<br>
<#if major??>${major}</#if>
<br>
${(gender==true)?string('男','女')}
</body>
</html>